psci: platform control of SYSTEM_SUSPEND entry
authorldts <[email protected]>
Thu, 11 Oct 2018 06:40:32 +0000 (08:40 +0200)
committerldts <[email protected]>
Thu, 11 Oct 2018 10:57:49 +0000 (12:57 +0200)
commita4065abdfb28147bede85d1dac983f01ff6a0247
treeb691a3d6e0b0d5417ea3d2b93e0936396319dd4a
parent3d3619c6dfcfd79685b92eb1190fbb1968a7d217
psci: platform control of SYSTEM_SUSPEND entry

Some platforms can only resume from system suspend from the boot
CPU, hence they should only enter that state from that same core.

The following commit presents an interface that allows the platform to
reject system suspend entry near its very last stage (last CPU).
lib/psci/psci_main.c